package interfaceModel;

import essenceClasses.User;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by User on 01.06.14.
 */
public interface IUserModel {

    public List<User> getAllUser() throws SQLException;


    public User getUser(String login) throws SQLException;


    public User addUser(String login, String pass, String fio, int access) throws SQLException;


    public int getAccesUser(String login) throws SQLException;

}
